OpenShadingLanguage 1.00
# Compiled by oslc 1.10.10
# options: -q -O2 -I/home/sources/buildbot-worker-linux_centos7/linux_290/blender.git/intern/cycles/kernel/shaders -I/home/sources/buildbot-worker-linux_centos7/linux_290/lib/linux_centos7_x86_64/osl/shaders -o /home/sources/buildbot-worker-linux_centos7/linux_290/build/intern/cycles/kernel/shaders/node_camera.oso
shader node_camera
oparam	vector	ViewVector	0 0 0		%read{1,4} %write{0,4}
oparam	float	ViewZDepth	0		%read{2147483647,-1} %write{2,2}
oparam	float	ViewDistance	0		%read{2147483647,-1} %write{3,3}
global	point	P	%read{0,0} %write{2147483647,-1}
const	string	$const1	"world"		%read{0,0} %write{2147483647,-1}
const	string	$const2	"camera"		%read{0,0} %write{2147483647,-1}
const	int	$const3	2		%read{1,1} %write{2147483647,-1}
temp	float	$tmp1	%read{2,2} %write{1,1}
code ___main___
# /home/sources/buildbot-worker-linux_centos7/linux_290/blender.git/intern/cycles/kernel/shaders/node_camera.osl:23
#   ViewVector = (vector)transform("world", "camera", P);
	transform	ViewVector $const1 $const2 P 	%filename{"/home/sources/buildbot-worker-linux_centos7/linux_290/blender.git/intern/cycles/kernel/shaders/node_camera.osl"} %line{23} %argrw{"wrrr"}
# /home/sources/buildbot-worker-linux_centos7/linux_290/blender.git/intern/cycles/kernel/shaders/node_camera.osl:25
#   ViewZDepth = fabs(ViewVector[2]);
	compref		$tmp1 ViewVector $const3 	%line{25} %argrw{"wrr"}
	fabs		ViewZDepth $tmp1 	%argrw{"wr"}
# /home/sources/buildbot-worker-linux_centos7/linux_290/blender.git/intern/cycles/kernel/shaders/node_camera.osl:26
#   ViewDistance = length(ViewVector);
	length		ViewDistance ViewVector 	%line{26} %argrw{"wr"}
# /home/sources/buildbot-worker-linux_centos7/linux_290/blender.git/intern/cycles/kernel/shaders/node_camera.osl:28
#   ViewVector = normalize(ViewVector);
	normalize	ViewVector ViewVector 	%line{28} %argrw{"wr"}
	end
